package com.thoughtworks.model;

/**
 * this class is the abstraction of question
 * @author Administrator
 *
 */
public class Question {
	
	private Route route;   //represent the trip, like A-B-C or A,C 
	
	private QuestionType questionType; //represent the type of question

	private CompareType compareType;   // represent the compare type of question, like "<" or "<=" or "="
	
	private int compareNum;
	
	public Question(Route route, QuestionType questionType, CompareType compareType, int compareNum) {
		this.route = route;
		this.questionType = questionType;
		this.compareType = compareType;
		this.compareNum = compareNum;
	}

	public Route getRoute() {
		return route;
	}
	
	public void setRoute(Route route) {
		this.route = route;
	}
	
	public QuestionType getQuestionType() {
		return questionType;
	}

	public void setQuestionType(QuestionType questionType) {
		this.questionType = questionType;
	}

	public CompareType getCompareType() {
		return compareType;
	}

	public void setCompareType(CompareType compareType) {
		this.compareType = compareType;
	}

	public int getCompareNum() {
		return compareNum;
	}

	public void setCompareNum(int compareNum) {
		this.compareNum = compareNum;
	}
	
}
